<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人信息</title>

<style type="text/css">

body{margin-left: 200px;margin-top: 100px;background-color: #aaddff;}
table{width: 80%;}
th{background-color: #ccaadd;}

</style>
</head>
<body>
	<table border="2" bordercolor="#ffffff">
		<tr><th>学生编号</th><th>用户名</th><th>密码</th><th>真实姓名</th><th>年龄</th><th>性别</th><th>班级</th><th>家庭住址</th>
		<th>联系电话</th><th>邮箱</th><th>代课老师</th><th>课程名称</th><th>考试成绩</th></tr>
		
		<s:iterator value="#request.list">
			<tr><th><s:property value="studentId"/></th><th><s:property value="username"/></th><th><s:property value="password"/></th>
			<th><s:property value="realName"/></th><th><s:property value="age"/></th><th><s:property value="sex"/></th>
			<th><s:property value="classes"/></th><th><s:property value="address"/></th><th><s:property value="phone"/></th>
			<th><s:property value="email"/></th><th><s:property value="teacher.realName"/></th><th><s:property value="course.name"/></th>
			<th><s:property value="mark"/></th></tr>
		</s:iterator>
	</table>
</body>
</html>